import 'package:flutter/material.dart';
import 'package:pull_to_refresh/pull_to_refresh.dart';

abstract class SimplePullLoadAdapter{

  ScrollController get scrollController => new ScrollController();

  GlobalKey<SmartRefresherState> get refreshIKey => new GlobalKey<SmartRefresherState>();

  bool get enablePullDown => false;

  bool get enablePullUp => false;

  getDataLogic(int page) async {}

  Widget renderItem(index, activity) {}

  List<Widget> renderHeader(BuildContext context, bool innerBoxIsScrolled){}
}